-- GENERATED SPELL FOR [Kaliri Swooper] --


function spell0_17053(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(5708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17053', 2257, 1)
end

function Sorts_17053(pUnit, Event)
local choix_sorts_17053 = math.random(0, 0)
if choix_sorts_17053 == 0 then
pUnit:RegisterEvent('spell0_17053', 1, 1)
end
end

function mob17053_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17053', math.random(1500, 3000), 1)
end

function mob17053_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17053_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17053_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17053, 1, 'mob17053_Action')
RegisterUnitEvent(17053, 2, 'mob17053_Leave')
RegisterUnitEvent(17053, 3, 'mob17053_Kill')
RegisterUnitEvent(17053, 4, 'mob17053_Die')
